//
//  UIButton+ZInit.h
//
//  Created by ZhàoYǒng on 2018/1/11.
//  Copyright © 2018年 ZhàoYǒng. All rights reserved.
//
//  一些快捷的button初始化方式

#import <UIKit/UIKit.h>

@interface UIButton(ZInit)

UIButton * _Nullable EmptyButton(SEL _Nullable action, id _Nullable target);
UIButton * _Nullable ImageButton(BOOL isBg, UIImage * _Nullable image, SEL _Nullable action, id _Nullable target);
UIButton * _Nullable TextButton(UIColor * _Nullable tint, CGFloat font, NSString * _Nullable title, BOOL isCustom, SEL _Nullable action, id _Nullable target);
UIButton * _Nullable SolidButton(UIColor * _Nullable bColor, UIColor * _Nullable tColor, CGFloat corner, CGFloat font, NSString * _Nullable title, SEL _Nullable action, id _Nullable target);
UIButton * _Nullable HollowButton(UIColor * _Nullable tint, CGFloat corner, CGFloat font, NSString * _Nullable title, SEL _Nullable action, id _Nullable target);

@end
